package com.zeng.jiudian.mapper;

import com.zeng.jiudian.bean.NavModel;
import com.zeng.jiudian.bean.NavModelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NavMapper
{
    long countByExample(NavModelExample example);

    int deleteByExample(NavModelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(NavModel record);

    int insertSelective(NavModel record);

    List<NavModel> selectByExample(NavModelExample example);

    NavModel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") NavModel record, @Param("example") NavModelExample example);

    int updateByExample(@Param("record") NavModel record, @Param("example") NavModelExample example);

    int updateByPrimaryKeySelective(NavModel record);

    int updateByPrimaryKey(NavModel record);
}